<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="nav_bar.jsp" %>

<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title>添加联系人</title>
	
</head>
<body class="well">
	
  <div class="container" style="background-color:white;width:800px;margin-top:70px">
	<div class="" style="background-color:#F0F5F8;height:50px">
		<div style="font-size:30px;padding-top:13px;padding-left:20px">
			添加联系人
		</div>
	</div>
	<form class="form-horizontal" action="addcompanycontact.action" style="margin-top:20px">
        <fieldset>
          <div class="control-group">
            <label for="input01" class="control-label"><span style="color:red"></span>姓名</label>
            <div class="controls">
              <input type="text" id="input01" class="input-xlarge" name="contact.name">
              <input type="hidden" name="companyid" value="${company.id}" />
            </div>
          </div>
		  <div class="control-group">
            <label for="input01" class="control-label">职位</label>
            <div class="controls">
              <input type="text" id="input01" class="input-xlarge" name="contact.post">
            </div>
          </div>
		  <div class="control-group">
            <label for="input01" class="control-label">公司</label>
            <div class="controls">
              <input type="text" id="input01" class="input-xlarge" name="contact.companyname">
            </div>
          </div>
		  <div class="control-group">
            <label for="input01" class="control-label">电话</label>
            <div class="controls">
              <input type="text" id="input01" class="input-xlarge" name="contact.phone">
			  
            </div>
          </div>
		    <div class="control-group">
            <label for="input01" class="control-label">邮箱</label>
            <div class="controls">
              <input type="text" id="input01" class="input-xlarge" name="contact.email">
            </div>
          </div>
		    <div class="control-group">
            <label for="input01" class="control-label">IM</label>
            <div class="controls">
              <input type="text" id="input01" class="input-xlarge" name="contact.im">
			  
            </div>
          </div>
		    <div class="control-group">
            <label for="input01" class="control-label">网站</label>
            <div class="controls">
              <input type="text" id="input01" class="input-xlarge" name="contact.website">
			  
            </div>
          </div>
		    <div class="control-group">
            <label for="input01" class="control-label">地址</label>
            <div class="controls">
              <input type="text" id="input01" class="input-xlarge" name="contact.address">
			  
            </div>
          </div>
          <div class="control-group">
            <label for="input01" class="control-label">新浪微博</label>
            <div class="controls">
              <input type="text" id="input01" class="input-xlarge" name="contact.weibo">
			
            </div>
          </div>
		    
		   <div class="control-group">
            <label for="input01" class="control-label">背景信息</label>
            <div class="controls">
              <textarea rows="3" id="textarea" class="input-xlarge" name="contact.bg_info"></textarea>
			   
            </div>
          </div>
		  <div class="control-group">
            <label class="control-label">谁可以看见？</label>
            <div class="controls">
              <label class="radio">
                <input type="radio" value="option1" id="optionsRadios1" name="optionsRadios">
                所有同事
              </label>
              <label class="radio">
                <input type="radio" value="option2" id="optionsRadios2" name="optionsRadios">
               只有我自己
              </label>
            </div>
          </div>
        </fieldset>
		<div class="form-actions">
            <button class="btn btn-primary" type="submit">保存联系人</button>
            <a href="tocompany.action?companyid=${company.id}" class="btn">取消</a>
          </div>
      </form>
  </div>


	
</body>
</html>